home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Commo-Support / Disk-Archive / _diag.dms / _diag.adf / sidecar / sidecarkeys.table < prev    next >
Text File  |  1987-09-11  |  3KB  |  67 lines

  1.  
  2. ;* ***************************************************************************
  3. ;* 
  4. ;* Input Translation Table from the Amiga Keyboard to the Sidecar
  5. ;*
  6. ;* Copyright (C) 1986, Commodore-Amiga, Inc.
  7. ;* 
  8. ;*
  9. ;* HISTORY   Name      Description
  10. ;* -------   ------      --------------------------------------------
  11. ;* 14 Apr 86   =RJ Mical=   Created this file from the table in imtask.c
  12. ;* 27 Feb 87    =R Goedecke=    Implemented German version
  13. ;* **************************************************************************/
  14.  
  15.                      
  16. ; This file starts with the special cases.
  17. ; These values are currently for the US-ASCII keyboard.
  18.  
  19.   $38  ; The PC Alt code
  20.   $3A  ; The PC Caps Lock code
  21.   $1D  ; The PC Ctrl code
  22.   $2A  ; The PC Left Shift code
  23.   $45  ; The PC Num Lock code
  24.   $4E  ; The PC + (on the numeric keypad) code
  25.   $37  ; The PC Ptr Scr * code
  26.   $36  ; The PC Right Shift code
  27.   $46  ; The PC Scroll Lock code
  28.   $0D  ; The PC Tilde code
  29.   $08  ; The PC Bar code
  30.   $0C  ; The PC BackDash code
  31.   $2B  ; The PC BackSlash code
  32.  
  33.  
  34.   $62  ; The Amiga Caps Lock code
  35.   $64  ; The Amiga Left Alt code
  36.   $36  ; The Amiga N code
  37.   $19  ; The Amiga P code
  38.   $0C  ; The Amiga + code
  39.   $65  ; The Amiga Right Alt code
  40.   $21  ; The Amiga S code
  41.   $5D  ; The Amiga equivalent of the Prt Scr key
  42.   $FF  ; The Amiga TildeBackDash code (set to $FF for ASCII keyboard)
  43.   $FF  ; The Amiga BarBackSlash code (set to $FF for ASCII keyboard)
  44.  
  45.  
  46. ; What follows next is the normal translation table, after all the
  47. ; special cases have been processed.  There are 128 entries in this
  48. ; byte table, which entries describe what to translate the normal
  49. ; Amiga keycodes into to satisfy the PC in this area.
  50. ;
  51.     $29  $02  $03  $04   $05  $06  $07  $08   ;* 00 - 07 */
  52.     $09  $0A  $0B  $0C   $0D  $2B  $FF  $D2   ;* 08 - 0F */
  53.     $10  $11  $12  $13   $14  $15  $16  $17   ;* 10 - 17 */
  54.     $18  $19  $1A  $1B   $FF  $CF  $D0  $D1   ;* 18 - 1F */
  55.     $1E  $1F  $20  $21   $22  $23  $24  $25   ;* 20 - 27 */
  56.     $26  $27  $28  $29   $FF  $CB  $CC  $CD   ;* 28 - 2F */
  57.     $2B  $2C  $2D  $2E   $2F  $30  $31  $32   ;* 30 - 37 */
  58.     $33  $34  $35  $FF   $D3  $C7  $C8  $C9   ;* 38 - 3F */
  59.     $39  $0E  $0F  $1C   $1C  $01  $53  $FF   ;* 40 - 47 */
  60.     $FF  $FF  $4A  $FF   $48  $50  $4D  $4B   ;* 48 - 4F */
  61.     $3B  $3C  $3D  $3E   $3F  $40  $41  $42   ;* 50 - 57 */
  62.     $43  $44  $45  $46   $FF  $37  $4E  $46   ;* 58 - 5F */
  63.     $2A  $36  $3A  $1D   $38  $38  $FF  $FF   ;* 60 - 67 */
  64.     $FF  $FF  $FF  $FF   $FF  $FF  $FF  $FF   ;* 68 - 6F */
  65.     $FF  $FF  $FF  $FF   $FF  $FF  $FF  $FF   ;* 70 - 77 */
  66.     $FF  $FF  $FF  $FF   $FF  $FF  $FF  $FF   ;* 78 - 7F */
  67.